import { TagComponent, Component, Types } from "../lib/ecsy.module.js";

export class PlayerComponent extends Component {}
export class Object3D extends Component {}

PlayerComponent.schema = {
    x: { type: Types.Number,default:0 },
    y: { type: Types.Number,default:0 }
};

Object3D.schema = {
  object: { type: Types.Ref }
};